using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class MdMaterialEntity : EntityBase
{
public MdMaterialTable TableSchema
{
get
{
return (MdMaterialTable)_tableSchema;
}}

public MdMaterialEntity()
{
_tableSchema = MdMaterialTable.Current;
}

#region 属性列表

public String MaterialID
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MATERIALID)); }
set { SetData(MdMaterialTable.C_MATERIALID, value); }
}

public String MaterialSmallTypeID
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MATERIALSMALLTYPEID)); }
set { SetData(MdMaterialTable.C_MATERIALSMALLTYPEID, value); }
}

public String MaterialTypeID
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MATERIALTYPEID)); }
set { SetData(MdMaterialTable.C_MATERIALTYPEID, value); }
}

public String MaterialName
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MATERIALNAME)); }
set { SetData(MdMaterialTable.C_MATERIALNAME, value); }
}

public String Specifications
{
get { return Convert.ToString(GetData(MdMaterialTable.C_SPECIFICATIONS)); }
set { SetData(MdMaterialTable.C_SPECIFICATIONS, value); }
}

public String IsDirect
{
get { return Convert.ToString(GetData(MdMaterialTable.C_ISDIRECT)); }
set { SetData(MdMaterialTable.C_ISDIRECT, value); }
}

public Decimal? Long
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_LONG)); }
set { SetData(MdMaterialTable.C_LONG, value); }
}

public Decimal? Width
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_WIDTH)); }
set { SetData(MdMaterialTable.C_WIDTH, value); }
}

public Decimal? Height
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_HEIGHT)); }
set { SetData(MdMaterialTable.C_HEIGHT, value); }
}

public Decimal? OutSide
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_OUTSIDE)); }
set { SetData(MdMaterialTable.C_OUTSIDE, value); }
}

public Decimal? InSide
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_INSIDE)); }
set { SetData(MdMaterialTable.C_INSIDE, value); }
}

public String Unit
{
get { return Convert.ToString(GetData(MdMaterialTable.C_UNIT)); }
set { SetData(MdMaterialTable.C_UNIT, value); }
}

public Decimal? Price
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_PRICE)); }
set { SetData(MdMaterialTable.C_PRICE, value); }
}

public Decimal? SafeStock
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_SAFESTOCK)); }
set { SetData(MdMaterialTable.C_SAFESTOCK, value); }
}

public Decimal? MeterWeight
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_METERWEIGHT)); }
set { SetData(MdMaterialTable.C_METERWEIGHT, value); }
}

public Decimal? MMNumber
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_MMNUMBER)); }
set { SetData(MdMaterialTable.C_MMNUMBER, value); }
}

public Decimal? ArrivalPeriod
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_ARRIVALPERIOD)); }
set { SetData(MdMaterialTable.C_ARRIVALPERIOD, value); }
}

public Decimal? MinOrderWeight
{
get { return Convert.ToDecimal(GetData(MdMaterialTable.C_MINORDERWEIGHT)); }
set { SetData(MdMaterialTable.C_MINORDERWEIGHT, value); }
}

public String Status
{
get { return Convert.ToString(GetData(MdMaterialTable.C_STATUS)); }
set { SetData(MdMaterialTable.C_STATUS, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(MdMaterialTable.C_CREATEDATE)); }
set { SetData(MdMaterialTable.C_CREATEDATE, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MODIFYUSERNAME)); }
set { SetData(MdMaterialTable.C_MODIFYUSERNAME, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(MdMaterialTable.C_CREATEUSERID)); }
set { SetData(MdMaterialTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(MdMaterialTable.C_CREATEUSERNAME)); }
set { SetData(MdMaterialTable.C_CREATEUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(MdMaterialTable.C_MODIFYDATE)); }
set { SetData(MdMaterialTable.C_MODIFYDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(MdMaterialTable.C_MODIFYUSERID)); }
set { SetData(MdMaterialTable.C_MODIFYUSERID, value); }
}

#endregion
}
}